<template>
    <div class="my-tag">
        <!-- 插槽：一个占位符；使用时才会替换成实际的值 -->
        <slot/>
    </div>
</template>

<script>
    export default {
        
    }
</script>

<style lang="scss" scoped>
.my-tag{
    display: inline-block;
    margin: 2px;
    border-radius: 4px;
    color: #67c23a;
    background-color: #f0f9eb;
    border: 1px solid;
    user-select: none;
    cursor: pointer;
}
</style>